{include file='/www/wwwroot/enkenuo.jijinweb.net/app/data/templateFile/header.html'/}

{php}
if (!$pid){
    $pid = $catid;
}
if (empty($thumb)){
    $thumb = Db::name('cat')->where('catid',$pid)->field('thumb')->find()['thumb'];
}
{/php}